#pragma once
#include "RGB.h"
class CP2
{
public:
    CP2(void);
    virtual ~CP2(void);
    CP2(double x, double y);
    CP2(int x, int y, CRGB c);
    friend CP2 operator + (const CP2& p0, const CP2& p1);
    friend CP2 operator - (const CP2& p0, const CP2& p1);
    friend CP2 operator * (const CP2& p, double scalar);
    friend CP2 operator * (double scalar, const CP2& p);
    friend CP2 operator / (const CP2& p, double scalar);
    friend CP2 operator += (CP2& p0, CP2& p1);
    friend CP2 operator -= (CP2& p0, CP2& p1);
    friend CP2 operator *= (CP2& p0, double scalar);
    friend CP2 operator /= (CP2& p0, double scalar);
public:
    double x, y, w;

    CRGB c;
};

